package com.lin.healthmanagement.entity;

import lombok.Data;
import lombok.ToString;

import java.util.List;

@Data
@ToString
public class MainMenu {
    private Integer id;
    private String title;
    private String path;
    private List<SubMenu> subMenuList;

    public MainMenu(String title, String path, List<SubMenu> subMenuList) {
        this.title = title;
        this.path = path;
        this.subMenuList = subMenuList;
    }

    public MainMenu() {
    }
}
